FROM debian:13.2-slim
LABEL author=xiaoyilin
LABEL email=406735078@qq.com
ENV TZ=Asia/Shanghai
ENV JAVA_HOME=/usr/local/jdk8u472-b08
ENV PATH=$JAVA_HOME/bin:$PATH
ADD OpenJDK8U-jdk_x64_linux_hotspot_8u472b08.tar.gz /usr/local/
WORKDIR /usr/local/
CMD ["java","-version"]


# JAVA8
# docker build -t registry.cn-hangzhou.aliyuncs.com/xiaoyilin/temurin-jdk:8.472-d132slim .
# docker run --rm registry.cn-hangzhou.aliyuncs.com/xiaoyilin/temurin-jdk:8.472-d132slim
# docker push registry.cn-hangzhou.aliyuncs.com/xiaoyilin/temurin-jdk:8.472-d132slim